﻿<div>
    Message: <input type="text" ng-model="message" /><br />
    <button ng-click="insertMessage()">Add Message</button>
    <div>
        <div ng-repeat="m in messages">
            Name: {{m.userName}} <br />
            Message: {{m.textArea}} <br />
            Time: {{m.timeStamp|date:'MM dd yyyy hh:mm:ss'}}
        </div>
    </div>
</div>